package com.kmzx.one.project.service;

import com.kmzx.one.project.entity.WxUser;
import com.kmzx.one.project.others.dto.UserAuthInfo;
import com.kmzx.one.project.others.dto.UserCenterInfo;

import java.util.List;

public interface UserCenterService extends BaseService {

    WxUser findByOpenId(String openId) throws Exception;

    WxUser doInsertWxUser(WxUser wxUser, String parent) throws Exception;

    Integer doUpdateWxUser(WxUser wxUser) throws Exception;

    UserCenterInfo findUserTopInfo(String userId) throws Exception;

    UserCenterInfo findUserTwoInfo(String userId) throws Exception;

    Integer doHasFather(String userId) throws Exception;

    UserAuthInfo doCheckUserAuth(String userId) throws Exception;

    UserAuthInfo doUserAuth(String userId, String name, String idCard) throws Exception;

    String findUserShareMini(String userId)throws Exception;

    List<String> findSpecificUser();
}
